home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / gfx / show / svoUtah22.lha / svoUtahRLE / source / URT / lib / sVsetlinebuf.c < prev    next >
C/C++ Source or Header  |  1990-08-02  |  1KB  |  35 lines

  1. /*
  2.  * This software is copyrighted as noted below.  It may be freely copied,
  3.  * modified, and redistributed, provided that the copyright notice is 
  4.  * preserved on all copies.
  5.  * 
  6.  * There is no warranty or other guarantee of fitness for this software,
  7.  * it is provided solely "as is".  Bug reports or fixes may be sent
  8.  * to the author, who may or may not act on them as he desires.
  9.  *
  10.  * You may not include this software in a program or other software product
  11.  * without supplying the source, or without informing the end-user that the 
  12.  * source is available for no extra charge.
  13.  *
  14.  * If you modify this software, you should include a notice giving the
  15.  * name of the person performing the modification, the date of modification,
  16.  * and the reason for such modification.
  17.  */
  18. /* 
  19.  * sVsetlinebuf.c - setlinebuf function for System V.
  20.  * 
  21.  * Author:    Russell D. Fish
  22.  *         Computer Science Dept.
  23.  *         University of Utah
  24.  * Date:    Mon Aug 14 1989
  25.  * Copyright (c) 1989, University of Utah
  26.  */
  27. #include <stdio.h>
  28.  
  29. void
  30. setlinebuf( stream )
  31. FILE *stream;
  32. {
  33.     setvbuf( stream, NULL, _IOLBF, 0 );
  34. }
  35.